package com.vchello.service.security;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;
import com.vchello.bean.security.Role;

/**
 * 
 * @author power
 *
 */
public interface RoleService extends IService<Role> {

	List<Role> findRoleByUserId(int userId);
	
	boolean saveRole(Role role);
	
	boolean updateRole(Role role);
	
	Role findByOne(int id);
	
	boolean deleteRole(Role role);
}
